.class public Lcom/example/m6wmr/AddressListActivity;
.super Landroid/app/Activity;
.source "AddressListActivity.java"

# interfaces
.implements Lcom/wmr/Lstview/XListView$IXListViewListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/example/m6wmr/AddressListActivity$MyAdapter;,
        Lcom/example/m6wmr/AddressListActivity$MyHolder;,
        Lcom/example/m6wmr/AddressListActivity$mOncliclistener;
    }
.end annotation


# static fields
.field public static addresslist:Lcom/example/m6wmr/AddressListActivity;


# instance fields
.field private final DEFAULT:I

.field private final DELETE:I

.field private Xlt_address:Lcom/wmr/Lstview/XListView;

.field private adapter:Lcom/example/m6wmr/AddressListActivity$MyAdapter;

.field private addressBeans:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lbean/AddressBean;",
            ">;"
        }
    .end annotation
.end field

.field private areaid:Ljava/lang/String;

.field private closebtn:Landroid/widget/LinearLayout;

.field private cursor:Landroid/database/Cursor;

.field private cv:Landroid/content/ContentValues;

.field private db:Landroid/database/sqlite/SQLiteDatabase;

.field private editid:I

.field private flag:Ljava/lang/String;

.field private gethttpsString:Ljava/lang/String;

.field private goint:I

.field private goodsstr:Ljava/lang/String;

.field public h:Landroid/os/Handler;

.field private handler:Landroid/os/Handler;

.field private helper:Ldbclass/DBOpenHelper;

.field private intent:Landroid/content/Intent;

.field private is_loading:Z

.field private ll_add:Landroid/widget/LinearLayout;

.field private loaddata:Z

.field m:Lmyapp/MyApp;

.field private mHandler:Landroid/os/Handler;

.field private mWebView:Landroid/webkit/WebView;

.field private mcontext:Landroid/content/Context;

.field private page:I

.field pd:Landroid/app/ProgressDialog;

.field private phones:Ljava/lang/String;

.field private pingstr:Ljava/lang/String;

.field private savedInstanceState:Landroid/os/Bundle;

.field private scrollView1:Landroid/widget/ScrollView;

.field private sex:Ljava/lang/String;

.field private shopid:Ljava/lang/String;

.field shoplayout:Landroid/widget/LinearLayout;

.field private shopstr:Ljava/lang/String;

.field private taddress:Ljava/lang/String;

.field private tcontactname:Ljava/lang/String;

.field private tis_default:Ljava/lang/String;

.field private toadd:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    const/4 v1, 0x0

    .line 70
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 71
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->areaid:Ljava/lang/String;

    .line 72
    iput-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->m:Lmyapp/MyApp;

    .line 75
    iput-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->h:Landroid/os/Handler;

    .line 77
    iput-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->shoplayout:Landroid/widget/LinearLayout;

    .line 78
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->mHandler:Landroid/os/Handler;

    .line 79
    iput-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->pd:Landroid/app/ProgressDialog;

    .line 80
    iput-boolean v2, p0, Lcom/example/m6wmr/AddressListActivity;->loaddata:Z

    .line 81
    const-string v0, "0"

    iput-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->shopid:Ljava/lang/String;

    .line 82
    iput-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->goodsstr:Ljava/lang/String;

    .line 85
    iput-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->cursor:Landroid/database/Cursor;

    .line 88
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->shopstr:Ljava/lang/String;

    .line 89
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->pingstr:Ljava/lang/String;

    .line 90
    iput v2, p0, Lcom/example/m6wmr/AddressListActivity;->goint:I

    .line 94
    iput v2, p0, Lcom/example/m6wmr/AddressListActivity;->editid:I

    .line 118
    const/16 v0, 0x64

    iput v0, p0, Lcom/example/m6wmr/AddressListActivity;->DELETE:I

    .line 122
    const/16 v0, 0x65

    iput v0, p0, Lcom/example/m6wmr/AddressListActivity;->DEFAULT:I

    .line 124
    iput-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->flag:Ljava/lang/String;

    .line 128
    iput-boolean v2, p0, Lcom/example/m6wmr/AddressListActivity;->is_loading:Z

    .line 129
    const/4 v0, 0x1

    iput v0, p0, Lcom/example/m6wmr/AddressListActivity;->page:I

    .line 70
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/AddressListActivity;)Ljava/util/ArrayList;
    .locals 1

    .prologue
    .line 109
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->addressBeans:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/m6wmr/AddressListActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 74
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->mcontext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$10(Lcom/example/m6wmr/AddressListActivity;)Lcom/example/m6wmr/AddressListActivity$MyAdapter;
    .locals 1

    .prologue
    .line 110
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->adapter:Lcom/example/m6wmr/AddressListActivity$MyAdapter;

    return-object v0
.end method

.method static synthetic access$11(Lcom/example/m6wmr/AddressListActivity;)V
    .locals 0

    .prologue
    .line 423
    invoke-direct {p0}, Lcom/example/m6wmr/AddressListActivity;->flush()V

    return-void
.end method

.method static synthetic access$12(Lcom/example/m6wmr/AddressListActivity;)V
    .locals 0

    .prologue
    .line 366
    invoke-direct {p0}, Lcom/example/m6wmr/AddressListActivity;->onLoad()V

    return-void
.end method

.method static synthetic access$13(Lcom/example/m6wmr/AddressListActivity;)I
    .locals 1

    .prologue
    .line 129
    iget v0, p0, Lcom/example/m6wmr/AddressListActivity;->page:I

    return v0
.end method

.method static synthetic access$2(Lcom/example/m6wmr/AddressListActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 104
    iput-object p1, p0, Lcom/example/m6wmr/AddressListActivity;->gethttpsString:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$3(Lcom/example/m6wmr/AddressListActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 104
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->gethttpsString:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$4(Lcom/example/m6wmr/AddressListActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 124
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->flag:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6wmr/AddressListActivity;)Landroid/content/Intent;
    .locals 1

    .prologue
    .line 126
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->intent:Landroid/content/Intent;

    return-object v0
.end method

.method static synthetic access$6(Lcom/example/m6wmr/AddressListActivity;)V
    .locals 0

    .prologue
    .line 451
    invoke-direct {p0}, Lcom/example/m6wmr/AddressListActivity;->getaddressData()V

    return-void
.end method

.method static synthetic access$7(Lcom/example/m6wmr/AddressListActivity;)Landroid/os/Handler;
    .locals 1

    .prologue
    .line 113
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->handler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$8(Lcom/example/m6wmr/AddressListActivity;Lcom/example/m6wmr/AddressListActivity$MyAdapter;)V
    .locals 0

    .prologue
    .line 110
    iput-object p1, p0, Lcom/example/m6wmr/AddressListActivity;->adapter:Lcom/example/m6wmr/AddressListActivity$MyAdapter;

    return-void
.end method

.method static synthetic access$9(Lcom/example/m6wmr/AddressListActivity;)Lcom/wmr/Lstview/XListView;
    .locals 1

    .prologue
    .line 93
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->Xlt_address:Lcom/wmr/Lstview/XListView;

    return-object v0
.end method

.method private flush()V
    .locals 2

    .prologue
    .line 424
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/example/m6wmr/AddressListActivity$5;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/AddressListActivity$5;-><init>(Lcom/example/m6wmr/AddressListActivity;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 445
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 448
    return-void
.end method

.method private getaddressData()V
    .locals 2

    .prologue
    .line 453
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lcom/example/m6wmr/AddressListActivity$6;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/AddressListActivity$6;-><init>(Lcom/example/m6wmr/AddressListActivity;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 471
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 473
    return-void
.end method

.method private initData()V
    .locals 3

    .prologue
    .line 529
    invoke-virtual {p0}, Lcom/example/m6wmr/AddressListActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    check-cast v1, Lmyapp/MyApp;

    iput-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->m:Lmyapp/MyApp;

    .line 530
    iget-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v1}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v0

    .line 531
    .local v0, "activityList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/app/Activity;>;"
    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 532
    iput-object p0, p0, Lcom/example/m6wmr/AddressListActivity;->mcontext:Landroid/content/Context;

    .line 533
    sput-object p0, Lcom/example/m6wmr/AddressListActivity;->addresslist:Lcom/example/m6wmr/AddressListActivity;

    .line 534
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->addressBeans:Ljava/util/ArrayList;

    .line 535
    new-instance v1, Ldbclass/DBOpenHelper;

    iget-object v2, p0, Lcom/example/m6wmr/AddressListActivity;->mcontext:Landroid/content/Context;

    invoke-direct {v1, v2}, Ldbclass/DBOpenHelper;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->helper:Ldbclass/DBOpenHelper;

    .line 537
    iget-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->helper:Ldbclass/DBOpenHelper;

    invoke-virtual {v1}, Ldbclass/DBOpenHelper;->getWritableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 538
    new-instance v1, Landroid/content/ContentValues;

    invoke-direct {v1}, Landroid/content/ContentValues;-><init>()V

    iput-object v1, p0, Lcom/example/m6wmr/AddressListActivity;->cv:Landroid/content/ContentValues;

    .line 539
    return-void
.end method

.method private initView()V
    .locals 2

    .prologue
    .line 512
    const v0, 0x7f0c0012

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/AddressListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->toadd:Landroid/widget/ImageView;

    .line 513
    const v0, 0x7f0c0001

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/AddressListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->closebtn:Landroid/widget/LinearLayout;

    .line 515
    const v0, 0x7f0c0014

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/AddressListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/wmr/Lstview/XListView;

    iput-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->Xlt_address:Lcom/wmr/Lstview/XListView;

    .line 516
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->Xlt_address:Lcom/wmr/Lstview/XListView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setPullLoadEnable(Z)V

    .line 517
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->Xlt_address:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v0, p0}, Lcom/wmr/Lstview/XListView;->setXListViewListener(Lcom/wmr/Lstview/XListView$IXListViewListener;)V

    .line 519
    const v0, 0x7f0c0011

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/AddressListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->ll_add:Landroid/widget/LinearLayout;

    .line 520
    const v0, 0x7f0c004b

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/AddressListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ScrollView;

    iput-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->scrollView1:Landroid/widget/ScrollView;

    .line 522
    return-void
.end method

.method private onLoad()V
    .locals 2

    .prologue
    .line 367
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->Xlt_address:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v0}, Lcom/wmr/Lstview/XListView;->stopRefresh()V

    .line 368
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->Xlt_address:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v0}, Lcom/wmr/Lstview/XListView;->stopLoadMore()V

    .line 369
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->Xlt_address:Lcom/wmr/Lstview/XListView;

    invoke-virtual {p0}, Lcom/example/m6wmr/AddressListActivity;->GetTime()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setRefreshTime(Ljava/lang/String;)V

    .line 370
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/example/m6wmr/AddressListActivity;->is_loading:Z

    .line 371
    return-void
.end method

.method private setonclicListener()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    .line 480
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->closebtn:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/m6wmr/AddressListActivity$mOncliclistener;

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/AddressListActivity$mOncliclistener;-><init>(Lcom/example/m6wmr/AddressListActivity;Lcom/example/m6wmr/AddressListActivity$mOncliclistener;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 481
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->ll_add:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/m6wmr/AddressListActivity$mOncliclistener;

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/AddressListActivity$mOncliclistener;-><init>(Lcom/example/m6wmr/AddressListActivity;Lcom/example/m6wmr/AddressListActivity$mOncliclistener;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 482
    return-void
.end method


# virtual methods
.method public GetTime()Ljava/lang/String;
    .locals 3
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "SimpleDateFormat"
        }
    .end annotation

    .prologue
    .line 398
    new-instance v1, Ljava/text/SimpleDateFormat;

    .line 399
    const-string v2, "yyyy-MM-dd    hh:mm:ss"

    .line 398
    invoke-direct {v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    .line 400
    .local v1, "sDateFormat":Ljava/text/SimpleDateFormat;
    new-instance v2, Ljava/util/Date;

    invoke-direct {v2}, Ljava/util/Date;-><init>()V

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    .line 401
    .local v0, "date":Ljava/lang/String;
    return-object v0
.end method

.method public bindbtn()V
    .locals 2

    .prologue
    .line 545
    const v1, 0x7f0c0016

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/AddressListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/example/location/BottomMenu;

    .line 546
    .local v0, "menu":Lcom/example/location/BottomMenu;
    const-string v1, "person"

    invoke-virtual {v0, v1}, Lcom/example/location/BottomMenu;->SetOn(Ljava/lang/String;)V

    .line 547
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 133
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 134
    const v3, 0x7f030004

    invoke-virtual {p0, v3}, Lcom/example/m6wmr/AddressListActivity;->setContentView(I)V

    .line 136
    iput-object p1, p0, Lcom/example/m6wmr/AddressListActivity;->savedInstanceState:Landroid/os/Bundle;

    .line 138
    invoke-direct {p0}, Lcom/example/m6wmr/AddressListActivity;->initData()V

    .line 140
    invoke-direct {p0}, Lcom/example/m6wmr/AddressListActivity;->initView()V

    .line 142
    invoke-direct {p0}, Lcom/example/m6wmr/AddressListActivity;->setonclicListener()V

    .line 144
    invoke-virtual {p0}, Lcom/example/m6wmr/AddressListActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/AddressListActivity;->intent:Landroid/content/Intent;

    .line 146
    iget-object v3, p0, Lcom/example/m6wmr/AddressListActivity;->intent:Landroid/content/Intent;

    const-string v4, "shopid"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/AddressListActivity;->shopid:Ljava/lang/String;

    .line 147
    iget-object v3, p0, Lcom/example/m6wmr/AddressListActivity;->intent:Landroid/content/Intent;

    const-string v4, "flag"

    invoke-virtual {v3, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/example/m6wmr/AddressListActivity;->flag:Ljava/lang/String;

    .line 148
    const/high16 v3, 0x7f0c0000

    invoke-virtual {p0, v3}, Lcom/example/m6wmr/AddressListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    .line 149
    .local v1, "top":Landroid/widget/LinearLayout;
    const v3, 0x7f0c0012

    invoke-virtual {p0, v3}, Lcom/example/m6wmr/AddressListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    .line 150
    .local v0, "toadd":Landroid/widget/ImageView;
    const v3, 0x7f0c0013

    invoke-virtual {p0, v3}, Lcom/example/m6wmr/AddressListActivity;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 151
    .local v2, "tv1":Landroid/widget/TextView;
    iget-object v3, p0, Lcom/example/m6wmr/AddressListActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v3}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v3

    const-string v4, "1"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 152
    const v3, 0x7f070026

    invoke-virtual {v1, v3}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 153
    const v3, 0x7f02001b

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 154
    const v3, -0xd53e87

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setTextColor(I)V

    .line 157
    :cond_0
    iget-object v3, p0, Lcom/example/m6wmr/AddressListActivity;->Xlt_address:Lcom/wmr/Lstview/XListView;

    new-instance v4, Lcom/example/m6wmr/AddressListActivity$1;

    invoke-direct {v4, p0}, Lcom/example/m6wmr/AddressListActivity$1;-><init>(Lcom/example/m6wmr/AddressListActivity;)V

    invoke-virtual {v3, v4}, Lcom/wmr/Lstview/XListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 193
    new-instance v3, Lcom/example/m6wmr/AddressListActivity$2;

    invoke-direct {v3, p0}, Lcom/example/m6wmr/AddressListActivity$2;-><init>(Lcom/example/m6wmr/AddressListActivity;)V

    iput-object v3, p0, Lcom/example/m6wmr/AddressListActivity;->handler:Landroid/os/Handler;

    .line 360
    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 577
    invoke-super {p0}, Landroid/app/Activity;->onDestroy()V

    .line 578
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    if-eqz v0, :cond_0

    .line 579
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v0}, Landroid/database/sqlite/SQLiteDatabase;->close()V

    .line 581
    :cond_0
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->cursor:Landroid/database/Cursor;

    if-eqz v0, :cond_1

    .line 582
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->cursor:Landroid/database/Cursor;

    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    .line 584
    :cond_1
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 3
    .param p1, "keyCode"    # I
    .param p2, "event"    # Landroid/view/KeyEvent;

    .prologue
    const/4 v2, 0x0

    .line 561
    const/4 v1, 0x4

    if-ne p1, v1, :cond_0

    invoke-virtual {p2}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v1

    if-nez v1, :cond_0

    .line 562
    iget v0, p0, Lcom/example/m6wmr/AddressListActivity;->goint:I

    .line 563
    .local v0, "checkgo":I
    const/4 v1, 0x1

    if-ne v0, v1, :cond_1

    .line 564
    iput v2, p0, Lcom/example/m6wmr/AddressListActivity;->goint:I

    .line 572
    .end local v0    # "checkgo":I
    :cond_0
    :goto_0
    return v2

    .line 568
    .restart local v0    # "checkgo":I
    :cond_1
    invoke-virtual {p0}, Lcom/example/m6wmr/AddressListActivity;->finish()V

    goto :goto_0
.end method

.method public onLoadMore()V
    .locals 4

    .prologue
    .line 408
    iget-boolean v0, p0, Lcom/example/m6wmr/AddressListActivity;->is_loading:Z

    if-nez v0, :cond_0

    .line 409
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/example/m6wmr/AddressListActivity;->is_loading:Z

    .line 410
    iget v0, p0, Lcom/example/m6wmr/AddressListActivity;->page:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/example/m6wmr/AddressListActivity;->page:I

    .line 411
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/example/m6wmr/AddressListActivity$4;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/AddressListActivity$4;-><init>(Lcom/example/m6wmr/AddressListActivity;)V

    .line 417
    const-wide/16 v2, 0x1f4

    .line 411
    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 420
    :cond_0
    return-void
.end method

.method public onRefresh()V
    .locals 4

    .prologue
    const/4 v1, 0x1

    .line 377
    iget-boolean v0, p0, Lcom/example/m6wmr/AddressListActivity;->is_loading:Z

    if-nez v0, :cond_0

    .line 378
    iput-boolean v1, p0, Lcom/example/m6wmr/AddressListActivity;->is_loading:Z

    .line 379
    iput v1, p0, Lcom/example/m6wmr/AddressListActivity;->page:I

    .line 382
    iget-object v0, p0, Lcom/example/m6wmr/AddressListActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/example/m6wmr/AddressListActivity$3;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/AddressListActivity$3;-><init>(Lcom/example/m6wmr/AddressListActivity;)V

    .line 390
    const-wide/16 v2, 0x1f4

    .line 382
    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 392
    :cond_0
    return-void
.end method

.method public onStart()V
    .locals 0

    .prologue
    .line 554
    invoke-direct {p0}, Lcom/example/m6wmr/AddressListActivity;->flush()V

    .line 556
    invoke-super {p0}, Landroid/app/Activity;->onStart()V

    .line 557
    return-void
.end method
